CASE_RESTORE Function

Syntax

Restored_String as C = CASE_RESTORE(C preserved_string)

Arguments

preserved_string

A character string generated by the CASE_PRESERVE()function.

Description

Restore a string from its case information.

Discussion

CASE_RESTORE() returns the original character string (encoded by the CASE_PRESERVE()function) with its initial pattern of upper and lower case characters.

Example

dim astr as C
astr = "Alpha Software"
astr = case_preserve(astr)
astr   ->   "Alpha Software8200"
astr = lower(astr)
astr   ->   "alpha software8200"
astr = case_restore(astr)
astr   ->   "Alpha Software"

See Also